package com.zandequan.modules.article.service;

import com.zandequan.modules.article.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 类目
 * 
 * @author treesea
 * @email 2117999344@qq.com
 * @date 2017-08-17 22:01:03
 */
public interface CategoryService {
	
	CategoryEntity queryObject(Integer categoryId);
	
	List<CategoryEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(CategoryEntity category);
	
	void update(CategoryEntity category);
	
	void delete(Integer categoryId);
	
	void deleteBatch(Integer[] categoryIds);
}
